use mmap for offsets instead of split