Uses only the first 100 points (not a random subsample) to keep the O(n^2) pairwise-distance computation cheap, matching the upstream implementation exactly.
Uses only the first 100 points (not a random subsample) to keep the O(n^2) pairwise-distance computation cheap, matching the upstream implementation exactly.