Size-temperature phase diagram of gallium