Fix Schumaker distance for slope