The optimizer is now protected from spending much time doing complex calculations and consuming much memory for creating large constants in constant folding.