Add stage to convert out of SSA