better algorithm for gamma_series_fmpq