generating the tas with the most common resources