working on TSP spatial order