BT from preorder and inorder traversal