Monte Carlo simulation of the energy deposited by few keV electrons penetrating in thick targets