Fix the autoplay calculations:
forgot the the player has already moved before the segment starts.
And actually use this position as a target position.
Afterwards, move to the centre.

Andrea
Do not calculate all segments. Just stop as soon as a solution is found.

Andrea