Investigation of limiting grain size and microstructure homogeneity in the presence of second phase particles using the Monte Carlo method