Improved performance by picking proper numbers for hash table lookups