_BLOCKS_TO_ITEMS
uint32_t new_blocks = _BLOCKS_TO_ITEMS(new_items);
if ((bh->items_count * 2 > _BLOCKS_TO_ITEMS(bh->blocks)) && bh->items_count < 65536)
return (_BLOCKS_TO_ITEMS(bh->blocks) * 2);