Computation and Allocation of Difference (CAD)