Crystallization and stability of the Bi2Sr2CaCu2Ox superconductor