add pass before simplification