change comments in template
change template to be more obvious (add @ to disable line feed)
change creation of size array to be the new type of determining sub struct sizes