Simulations of small apertures and grids by the FDTD method