by this time , most of the stars in the universe had expanded to red giants as well , and the various intelligent lifeforms from countless galaxies scattered , scouring for an inhabitable solar system with a star still in its main sequence .