         <span class="n">bonded_structure</span><span class="o">.</span><span class="n">structure</span><span class="p">[</span><span class="n">start_index</span><span class="p">])]</span>
    <span class="k">while</span> <span class="nb">len</span><span class="p">(</span><span class="n">queue</span><span class="p">)</span> <span class="o">&gt;</span> <span class="mi">0</span><span class="p">:</span>
        <span class="n">comp_i</span><span class="p">,</span> <span class="n">image_i</span><span class="p">