xMin, xMax, yMin, yMax are working for any integration method