adjacency matrix built