can now build a ball tree