~ manage max segment depth, which controls total number of segments in the end.