
You are given a 2D array of axis-aligned rectangles . Each rectangle[i] = [x _i1 , y _i1 , x _i2 , y _i2 ] denotes the i ^th rectangle where (x _i1 , y _i1 ) are the coordinates of the bottom-left corner , and (x _i2 , y _i2 ) are the coordinates of the top-right corner .
Calculate the total area covered by all rectangles in the plane. Any area covered by two or more rectangles should only be counted once .
Return the total area . Since the answer may be too large, return it modulo 10 ^9 + 7 .
1 <= rectangles.length <= 200rectanges[i].length == 40 <= x _i1 , y _i1 , x _i2 , y _i2 <= 10 ^9x _i1 <= x _i2y _i1 <= y _i2All rectangles have non zero area.