correct maximum size of hash table