move rawTokenIndex usage to GPUB