Fix to subexpression elimination.