A new demographic function maximized by life-history evolution