formation of solid crystals