**Begin Inner Loop**

While s < sLast|

Set s: = s + 1 and identify edge e(s) = (p(s), q(s)). Let i′ = p(s), i″ = q(s) and let k′ = L(i′) and k″ = L(i″).


Endwhile.

Y = Ynext.

Endwhile.
