Update hashing method to be more uniform