Grain size distribution of nanocrystalline systems