finished first iteration