updated centering, density profile