Dependence of the phase transition on the mass number of hot nuclei before break-up