The aperiodic Fourier modal method in contrast-field formulation is a numerical discretization and solution technique for solving scattering problems in electromagnetics. Typically, spectral discretization is used in the finite periodic direction and spatial discretization in the orthogonal direction. In the light of the fact that the structures of interest often have a large width-to-height ratio and that the two discretization approaches have different computational complexities, we propose exchanging the directions for spatial and spectral discretization. Moreover, if the scatterer has repeating patterns, swapping the discretization directions facilitates the reuse of previous computations. Therefore, the new method is suited for scatter...