Reduce the number of hashes