refinements to bplusmem