Model-assisted measuring method for periodical sub-wavelength nanostructures.