Harnessing Hierarchical Label Distribution Variations in Test Agnostic Long-tail Recognition