capacity may not be an attribute of bat

in case capacity is not an attribute of bat, we calculate capacity.