cpu: O3 rename using the flatIndex instead of index