added maximum size to VSegment