Loop to repeat the model.