Cache weight sums in blocks