Moved the idxb defines
Tweaked the indexb kernel