speedup intersect function