Changing the value of gMAXOP in TFormula.cxx

Hi,
in my application, I define a TCut which is a concatenation of several conditions, e.g.:

TCut mycut = "(x>3 && x<4) || (x>16 && x<18) || (x>20 && x<20.5) || ...";

However, when the TCut contains many expressions and I us it within a TTree Draw selection, I get the cryptic error:

I hard-changed then the line defining the maximum number gMAXOP as:

and solved the problem with this workaround. However, is there a cleaner way to do this without messing up the source code in each computer I use?

Some static method like TFormula::SetMaxOp(2000)? This would be really helpful for our application. Thanks in advance.