convert histogram to link strength cdf