fixed off-by-one bug in tracking hash table size