Dynamic stencil lithography on full wafer scale