Moved history_size variable from signal structure to link_signal where it belongs.