SMS: Compaction and diagenesis