Dynamic boundary setting for discrete element method considering the seismic problems of rock masses