ComputeBoxSum