Improving stability by change of representation in time-stepping analysis of non-linear beams dynamics