2D stencilling