sphere packing, phase transition