Vertex marginal distributions for hierarchical SBM mode states

Hi Prof. Peixoto,

How do we get node marginals for hierarchical partitions?
The function PartitionModeState().get_marginal(g) only gives marginals for level 0.

Do we need to project all levels on the lowest level and then find the marginals for each level separately?

Many thanks,
Govinda