KD-tree particle index