take variable input lengths in _fmpq_poly_div_series