improvement on the nearest neighbor heuristic