tweaked path computation