Capacity calculation has been fixed.