fix elevationFromPath recursion