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