Software compensation method for achieving high stability of Alpao deformable mirrors