Use a better hash function