A fast K Nearset Neighbor library for low-dimensional spaces