BTree implementation for Selected Algorithms