Adjust the number of segments for "wild lines" based on distance