Algorithm to calculate farthest point on a tile map. Includes a heatmap.