removeConstantFactors