Create LongestPath