A novel dynamic LPFG gain equalizer written in a bend-insensitive fiber