[BZ-981410] avoid eccessive hashtable resize when adding many tuples to memory in accumulate node