Analysis of the shape distribution of asteroids