add calc_rectangles_area