Port: SegmentMerger