A nonlinear stability analysis of the freezing of a dilute binary alloy