option 2 for all dataset intersection