fix the calculation of rates during growth periods