Adjacency matrix needed.