improve addSize calculation
improve addSize calculation (0.9.6)