Implement the GEP upgrade for non-constant unsigned indices