added mmaping of adjacency files; simplified code