Note: When "need_compute_density = false", it won't compute density weights for original points. however, it still compute density weights for sample points.