Compact the HashTable class to remove internal fragmentation.