A study on relationship between traffic pattern and assignment of wavelengths in multi WDM ring networks