In the last move length has to be calculated : Either with the Pythagorean theorem or the right triangle ratio. The last length should be about 173 steps.