0 stack size caused OBE in TemplateException