Minimize the final diff changes.