Modifications for the coupling SPECFEM3D-DSM