MODE_UNBOX_INT and MODE_BIGINT seem to be safe according to the spec tests