Iterative application of boundary conditions in the parallel implementation of the FDFD method