We should try if we can use the GridTools::c_bindings in a backward-compatible. Maintainability would be improved a lot!