Added minimum distance between contour lines