optimizate clip stencil