Fixed overallocation in hash table