fix the size to mmap()