energy deposit definition changed to delta energy between steps