Solid-liquid phase changes with different densities