Fix redundant list creation in TSP