changes to hierarchy and type size from template