Shorten hashes