Building bridges game

Help this cute robot to get over all the gaps between the roofs of the houses. Your task is to correctly place the bridges along which the mechanical man will move. Determine the required length of the jumper by eye, preventing it from falling down from a bridge that is too short. But you can’t build too long either.