better strategy to determine when growing the table

(instead of using a fixed threshold the table will be grown when
 the number of items is 1/3 bigger than the number of buckets)