Stimulated raman effect in bi-directionally amplified and transmission WDM systems