if we fount k smallest element then break the function
if ( root . lCount + 1 ) == k : NEW_LINE INDENT temp_sum [ 0 ] += root . data + root . Sum NEW_LINE return NEW_LINE DEDENT elif k > root . lCount : NEW_LINE