Added resizing to hash tables.

It will only resize up. Resizing down broke a few tests.