Remove useless variable.prev to store previous time-step.