Compaction and Cementation They are compacted, reducing the available pore space and expelling much of the pore-water. Dissolved minerals in the ground water precipitate (crystallize) from water in the pore spaces forming mineral crusts on the sedimentary grains, gradually cementing the sediments, thus forming a rock.