Reversibility and intermediate steps as key tools for the growth of extended ordered polymers via on-surface synthesis