corrected inflate calculation