New ex_int_offset2() function