Title: On the determination of the lateral stability of beams