Experimenting with the reduce phase in compute_cdf().