Simplify Binary Expression

Replace binary expression with simpler equivalent expression

refactoring
safe