Crystallization and precipitation