Gain flattening of DWDM channels for the entire C & L bands