Module dependent Source Grouping