Pure algorithm to zero accounts