Stencil Specializer using ctree