Towards memmap
Many chages to allow volume selection. Data scale conversion breaks memmap.