  class="p">(</span><span class="n">J</span><span class="p">,</span> <span class="n">L</span><span
            class="p">)</span>
        <span class="k">else</span><span class="p">:</span>
            <span class="c1"># nodes[1] is in J</span>
            <span class="n">J</span><span class="p">,</span> <span class="n">L</span> <span class="o">=</span> <span
            class="n">J</span><span class="o">.</span><span class="n">split</span><span class="p">(</span><span
            class="n">nodes</span><spa