Critical dimension in the black-string phase transition.