Compactness is introduced as a new method to search for the onset of the quark matter transition in relativistic heavy ion collisions. That transition supposedly leads to stronger compression and higher compactness of the source in coordinate space. That effect could be observed via pion interferometry. We propose to measure the compactness of the source in the appropriate principal axis frame of the compactness tensor in coordinate space.