traveling salesmen stops when time change is smaller than 1s