Controlling nutrient release in cell cultivation