Rename iteration in depth in id_loop()