Iterate with C rather than python
The 'multi_index' flag is not needed anymore