They only took up a small part of the roof near the mihrab . Later , they took the whole roof above the prayer hall . 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 .