add CaculateCapacity