cache calculated hashcode
add automatic bucket resize
add test for table resize