bktree seems to work