The Hagedorn spectrum distribution and the dimension of hadronic matter