Merge clean phase with simplification