fixed minor bug in multiproc add/merge, added ht.reset()