CHANGED: Edge representation from pairs to compounds.