Original: As time progressed, dome 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.