BinaryTree compiled