A stability criterion of elastic wave modelling by the Fourier method