implemented a few hacks for multi-dimensionnal processing in C