Hacking photosynthesis, one algorithm at a time