Centrality dependence of the pseudorapidity density distribution for charged particles in Pb-Pb collisions at root s(NN)=5.02 TeV