Made path optimizer favor going in a straight line (when all else is the same).