n class="n">ndirs</span>
  <span class="n">nfreqs</span> <span class="o">=</span> <span class="n">size</span><span class="p">(</span><span class="n">self</span> <span class="p">%</span> <span class="n">f</span><span class="p">)</span>
  <span class="n">ndirs</span> <span class="o">=</span> <span class="n">size</span><span class="p">(</span><span class="n">self</span> <span class="p">%</span> <span class="n">th</span><span class="p">)</span>
  <span class="k">allocate</span><span class="p">(</span><span clas