More optimizations to the pathfinder. All profile guided.