stencilFunction