Measuring points visiting sequence in CMM path planning