Remember that the lattice arrangement is giant - for example, a single grain of salt may contain 1.2 × 1018 (1,200,000,000,000,000,000) ions. The lattice arrangement continues in three dimensions. This is why solid ionic compounds form crystals with regular shapes.