No, you would get the distance from the border to the other end of the large country, since that is longer.