Whether using nanoflann kd-tree instead of PCL library kd-tree in code will reduce the nearest neighbor search time and memory consumption.