Change build structure of pathfinder.