https://github.com/sytranvn/kd-tree