rename phases to total_iters