Instead of `(*b).as_mpz()`, use `b->as_mpz()`.