Stability of iterations of symplectic transformations