“Use of the Spatial KD-Tree in Computational Physics Applications”. Communications in Computational Physics, vol. 2, no. 3, Feb. 2007, pp. 545-76, https://gsp.tricubic.dev/cicp/article/view/5469.