Sped up finding the closest point on the burrow outline