The effects of infection on growth