Some updates to ngt using mmap