“Even under optimistic scenarios for the pace of physical reconstruction, the scale of destruction in Gaza has been such that, simply from the narrow perspective of moving in building materials, it would still take until 2040 and probably longer to restore the housing units destroyed since the start of the war,” the researchers concluded.
Article explains the reasoning. They chose the metric of moving building materials into devastated areas