removed segmentPair visualization code in segmentStackPainter. will do later
first implementation of segmentPair visualization