When did cores of clusters of galaxies form