Effects of the introduction of the discrete energy loss process into Monte Carlo simulation of electron scattering