If all the matter and energy in the universe, including dark matter and dark energy, adds up to exactly the concentration at which the energy of the outward expansion balances the energy of the inward gravitational pull, space will extend flatly in all directions.