Designing human-technology ecosystems for Optimal performance