Sum of k smallest elements in BST