The carbonate feedback system; interaction between stratigraphic accomodation, ecological succession and the carbonate factory