To measure how good an arrangement is, mathematicians imagine that all of space is filled with spheres. They calculate the proportion of this infinite space, or volume, occupied by the spheres themselves. The remainder of the volume or space is formed by the gaps between the spheres.