CardBuilding: add card calculation to help for balancing costs