Set history size option