Dry ice, solid carbon dioxide, does not melt; instead, it sublimes directly from a solid to a gas. Sublimation is the process of a solid turning directly into a gas, without passing through the liquid phase.
Hence, pieces of dry ice do not become smaller through condensation, but rather through sublimation.