change: argument of userdata replace option has been added to function seg_add.
change: version number has been updated.