The simulation and selection of shapes for the unfolding of grain size distributions