FFI wrapper of METIS graph partitioning library