s1 - i)
          g_sum += (stack.g = (pg = pixels[p + <span class="number">1</span>])) * rbs
          b_sum += (stack.b = (pb = pixels[p + <span class="number">2</span>])) * rbs

          r_in_sum += pr
          g_in_sum += pg
          b_in_sum += pb
          
          stack = stack.next
          
        stackIn = stackStart
        stackOut = stackEnd

        <span class="keyword">for</span> x <span class="keyword">in</span> [<span class="number">0.</span>..width]
          pixels[yi] = (r_sum * 