Add array index access with mmap support