show max used stack for kernel
update templates for obsolete KERNEL_SIZE