Calculation of the deposition distance in the inertial spectrometer