Combine Dirichlet prior and exact SBM. Code cleaned.