First we divide a Walsh code into N segments of equal lengths NC /N (recall, we want to have N channels for one user k), where N is a power of two and N is<or=to NC. Since NC =M is also a power of two (i.e., 2i where i is=or>than 0), we get a number NC /N of sub-Walsh codes which is again a power of two.