set library stencil