Added a vector for the number of bytes for each segment.