`main_grid, main_poly: element` but I already merged it anyway