2d integration and sum ready