refining bplusmem code