take into account startNumber when calculating segment index for SegmentTemplate