Grating spacing