The solution to designing CSMB for different modes can be achieved through matrix manipulations.The design of CSMB 503 at mode=1 is to (1) keep one original scan chain, say S, as the driver chain for, say, Space compactor cone N, the original Space compactor cone for which S was a driver chain, (2) All other original driver chains for theSpace compactor cone N are switched to become driver chains