mode - fixed only if dimension()==3. If dimension()<3, tds.print_cells() should be corrected. The handling of the dimension is ugly (copy-pasting). I prefere not to fix that code. Note 1: Test suite is ok. Note 2: binary i/o operators are tested in Mesh_3