Inserted statistics to generate the route