added next largest for BST