7"></a><span class="lineno">   17</span>&#160;    if x(i)~=current % new bit is flipped =&gt; append new run</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;        if current % if was 1</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;            idx_1 = idx_1+1;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;            counts1(idx_1) = i-idx;</div><div class="line"><a name="l00021"></a><span class="li