improved path for 100 nodes graph.