Use map buffers instead of enqueueRead/Write
If savepaths is false, don't save paths.