Easier and faster reset/1 (but more memory consuming)
Merge pull request #1 from hanssv/fix_reset

Easier and faster reset/1 (but more memory consuming)