Construct BTree from collections