"The fountains of the deep and the windows of the heavens were closed, the rain from the heavens was restrained, and the waters receded from the earth continually."
Genesis 8:2-3a
The rain and fountaining lasted 40 days, and the receding took another 150 days, and that was just to the point where the tops of the mountains were seen.
Do you think that part might be an allegory?