minor improvement of polynomials