Amine gradient process for DUV lithography