Instantaneous stomatal optimization results in suboptimal carbon gain due to legacy effects. (8th September 2022)