better btree_find_closest function (recursive)