changing grst to 2D integration method