new packages hashf and hashtable, rewritten by machine on new technology