Tree building works for a few hundred particles