Life history plasticity after attaining a dietary threshold for reproduction is associated with protein storage in flesh flies.