I meant trying to have a way to describe the fsm at compile time without having to use a linked list and dynamic instantiation but rather a fixed size array (size set from a template approach) . This way the IDE would report exactly how much memory is being used after the compilation.