On flat-top response of a photonic crystal based optical filter designed for CWDM system