only double number of elements for _top-level_ classes that are either alloc'ed statically
or malloc'ed and inherit 'Module' somewhere inside.