traverse deeper into multi modules

In case of multi-multi modules we need to go deeper into the hierarchy.