Refactor @ buildPolynomialExpression