Ecosystem revolution and evolution in the Early–Mid Paleozoic