Rewrite chunks of BigPolynomial