Exponential distance calculation when zooming