Iteration end condition.