Estimate the distance to the horizon.