HASH: add a way to reset an iterator