What if both distances are equal.