The previous run-twice logic only affected the stability checks but not the output. Now, we actually output the twice-formatted code.