Multi-time optimal economic growth