</span><span class="p">[</span><span class="n">m</span><span class="p">]</span>
            <span class="k">while</span> <span class="p">((</span><span class="n">use</span> <span class="ow">in</span> <span class="n">used</span><span class="p">)</span> <span class="ow">and</span> <span class="p">(</span><span class="n">m</span> <span class="o">&lt;</span> <span class="nb">len</span><span class="p">(</span><span class="n">neighbors_choices</span><span class="p">))):</span>
                <span class="n">m</s