take buffer chunks until the inflated result is === size