fixed 2-opt by adding nodeIndex map