The control algorithm and WSNB operation of log2(N;1;p) switching fabrics