)</span>
                <span class="n">lvl_end_idc</span> <span class="o">=</span> <span class="n">lvls_idc</span><span class="o">.</span><span class="n">max</span><span class="p">()</span>
            <span class="k">if</span> <span class="n">lats_idc</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
                <span class="n">lat_start_idc</span> <span class="o">=</span> <span class="mi">0</span>
                <span class="n">lat_end_idc</span> <span class="o"