Descent and distance calculation