Dimensioning of optical codes in OCDM/WDM optical packet switches