remove lifetime param from SegmentBuilder