That is right, whole peppercorns are solid, and contain less air than ground peppercorns, which is an amorphous solid with a lot of airy pockets at the molecular level. If you suck the air out, it will be lower in volume compared to a spoonful of whole peppercorns (as they will have some air between the peppers as well