hashvalue was printing garbage in mlog because we advanced the
pointer while computing the hash.   save init value of the pointer
so we don't mlog garbage.