Aggregation of galaxies