Hierarchical repair at all levels