Renormalization of hierarchical sequences