changed back from float64 to integer based hashing