Replace the old, naive algorithm to determine map touches.