creation of bsTree complete