message size determination
add files for msg_gen.
move size determination there
add buffer_fill implementation