Merged no_index and q8_index into linear_index;
testing with parallelization.