ball point query is working for periodic boxes but not ball tree query is not working yet...