for the homogeneous type , nuclei of the new phase from uniformly throughout the parent phase , whereas for the heterogeneous type , nuclei from preferentially at structural inhomogeneities , such as container surfaces , insoluble impurities , grain boundaries , dislocations , and so on .