Adjust paths and costs in Pathfinder.

Canonical version is here: