// cout << "size of cur_fdm_state = " << length << endl;
buf = *cur_fdm_state;
if ( ! io->write( (char *)(& buf), length ) ) {
// cout << "size of cur_fdm_state = " << length << endl;
buf = *cur_fdm_state;
if ( ! io->write( (char *)(& buf), length ) ) {