use pmem instead of mem
add additional atlases