added debug messages to SegPairDCG