On hierarchical traffic grooming in WDM networks