withinReplicationWeightedSum

Also includes the segment currently in progress — height value, width time - timeOfChange. The within-replication statistic cannot hold it: a weighted statistic collects a value once, with one final weight, and cannot afterward revise it or the observation count, so a segment is not collected until the next assignment fixes its width. Its area so far is nonetheless known at any instant, which is what this adds.