better hash for more even distribution

This virtually eliminates long chains of buckets.