fixed bug in SegPairDCG: feature index for offset