shorten the hash