actually use the min_dist argument
setup.py slight code improvement