distance to the horizon