wip - initial work on bk_tree