lse</span><span class="p">):</span>
    <span class="sd">&quot;&quot;&quot;</span>
<span class="sd">    Algorithm for finding the dimensions of connected subunits in a structure.</span>
<span class="sd">    This method finds the dimensionality of the material even when the material</span>
<span class="sd">    is not layered along low-index planes, or does not have flat</span>
<span class="sd">    layers/molecular wires.</span>

<span class="sd">    Author: &quot;Gowoon Cheon&quot;</span>
<span class="sd">  