integrating vector container for segments