[graph-tool] projecting vertex marginals to hierarchy levels