restructed code stencils