I think it goes back to deep gravel
Gravel -> Deep gravel -> Desert -> Wasteland -> Jungle -> Deep gravel -> ...
It just continues without the first layer, I think it's mentioned in the wiki somewhere