Use something like the following as your hash function(actually hard code the number for fewer cycles)
func(a:Nat){Nat32.fromNat(a%(2^32 -1))};
Also see: Hash Collisions
Use something like the following as your hash function(actually hard code the number for fewer cycles)
func(a:Nat){Nat32.fromNat(a%(2^32 -1))};
Also see: Hash Collisions