minSegments