Compute deltas