Allow alteration of the history length