need to implement IndexReduce and IndexScan for OpenMP