Fixed bugs in LMON_be_scatter relating to memory layout and null bytes.