init route distance