A patterned structure in a wafer is created using one or more fabrication
treatment processes. The patterned structure has a treated and an
untreated portion. One or more diffraction sensitivity enhancement
techniques are applied to the structure, the one or more diffraction
sensitivity enhancement techniques adjusting one or more properties of
the patterned structure to enhance diffraction contrast between the
treated portion and untreated portions. A first diffraction signal is
measured off an unpatterned structure on the wafer using an optical
metrology device. A second diffraction signal is measured off the
patterned structure on the wafer using the optical metrology device. One
or more diffraction sensitivity enhancement techniques are selected based
on comparisons of the first and second diffraction signals.