added SegmentPairExtractionPipeline