Sub-wavelength printing using multiple overlapping masks