New data structure for segments.