convert narrow peak to memmap helper