Progressive compression of 1,ω-diammonium-alkanes inside a rigid crystalline molecular cage.