add native support for gather offsets