Working stencil buffer