with bktree not working fine