bemtree should store its result in internal buffer object
bemtree examples fixed
Merge branch 'bemtree-buf' into feature/modules