Remove a squareroot in pathfinding