IntBST working