Bragg grating initial design with FDTD