Pathfinding in different metrics