modify the distance of two point

modify the distance of two point