PMEM: fix sizes