smallest range in k and BST two nodes sum upto k