Added code for running sums of distances