Use a more stable hash function