it literally takes 24 steps to get to the end. if you are able to move away the pebbles it's still 23 steps
(edit) I figured it out. hint You need to take a break. also follow what other people's advice is in the comments. :)