trying to speed up hashes