type signature for mean stencil