added hashed adjacency list