reduced 3-opt to sqrt(M)