[geometry][index] rtree packing algorithm optimized, partial_sort replaced by nth_element, thanks to Lu Wang