bination upto maxstep</span>
    <span class="k">if</span> <span class="nb">len</span><span class="p">(</span><span class="n">ftype</span><span class="p">)</span> <span class="o">==</span> <span class="mi">1</span> <span class="ow">and</span> <span class="n">purefc</span><span class="p">:</span>
        <span class="n">nftype</span> <span class="o">=</span> <span class="p">[]</span>
        <span class="n">nsteps</span> <span class="o">=</span> <span class="p">[]</span>
        <span class="n">nftime</span>