Source mask polarization optimization