Freezing rate determination by the isotopic composition of the ice