Update least_dist.py