Cleaning data after second iteration