Added a function for requesting a hash table resize to a specific capacity.