try to autoscale weights in algorithms.tsp