Grouping versions with same deps