Not correct for the cases where there is no intersection between two anchor boxes. Ideally, it should return 0