Optimization of optical waveguide for optical DEMUX at optical windows