new path optimizer