Optimal metabolic regulation along resource stoichiometry gradients | Synapse