In reply to wajahatriaz:
The UVM build_phase traverses the component hierarchy as uvm_components are in the process of being constructed. If they are not put into the child hierarchy, they might be skipped. By the end of build_phase, all components have been constructed and any traversal method will iterate over all components.