calculates tourlength in 2.5opt