fix inflate: _tr_tally function argument calculation