o">=</span> <span class="nb">sorted</span><span class="p">(</span><span class="n">match_dis</span><span class="p">)</span>
    <span class="n">match_dis_x</span> <span class="o">=</span> <span class="p">[</span><span class="n">i</span> <span class="k">for</span> <span class="n">i</span> <span class="ow">in</span> <span class="nb">range</span><span class="p">(</span><span class="nb">len</span><span class="p">(</span><span class="n">match_dis</span><span class="p">))]</span>
    <span class="n">nomatch_dis</s