I just have a different opinion. Your grounds look different than what I see at the end of my shots. The particles look much larger in your wet basket shot - mine are like fine silt.
Here is some old world old school thought recovered from H-B:
Marino Petracco in Espresso Coffee, 7.5.4, Illy & Vianni, eds wrote:
"During expansion, wet coffee grounds exert a pressure comparable to the wooden wedge once used to split marble ... On account of this behavior, an empty space is left above the ground coffee cake inside the extraction chamber. The actual expansion of the coffee cake varies by blend, roasting degree, and dose, and determines the minimum headspace (around 5mm to 6mm) needed to prevent over-compaction."