add memview ball tree