code cleanup
Specify HashTable size and optimize inserts that may not conflict