Effect of nucleation on transformation toughening