ERROR_PAIRED in cubature