involve thread_local in runtime and accumulator
remove log dependency and open -o3