Added time whenever one iteration finishes