create a binary search tree with minimal height