ExpressionParser optimizaton done
ternary, unary optimization fixes