Change history length