Marginals are now only of edges