search the longest route