Original: As time progressed, domes grew, from occupying a small part of the roof near the mihrab to encompassing the whole roof above the prayer hall.
Simplified: They only took up a small part of the roof near the mihrab. Later, they took the whole roof above the prayer hall.