got rid off set_boundaries() by putting its content into build_message()