fix bug when computing the maxconcentration that the cell experienced.