C: fix #178, hash TOTALKEYS of BEGIN-time initialized hashes