Optimize both stmts.