What empire doubled in size during the middle ages