Index creation algo was seriously screwed up