getting the hyperedges in the new model