Move BTree to the immutable package