5The choice is not unique of course, you may also try e.g. rmin < max_dist.