Investigate if there are better ways to use the spatial indexing libraries (rbush, flatbush, quadtree-ts, geo-index) that could improve performance.