Input (grade 10): 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.
Output (grade 2): They only took up a small part of the roof near the mihrab. Later, they took the whole roof above the prayer hall.