bounding boxes for intersection, calculate score