[PATCH 1/2] Improve BSSGP debug output