The amount of dark matter determined the strength of the gravitational potential that pulled stuff in, resisting the outward force of the radiation. This influence helped shape the oscillations, allowing astronomers to measure the total dark matter energy density that was present at the time.