fix
add inline make_io_data
add assert
fix bug with mod operator