bug fix for growth calculation