adopting historydb in polybench for test