included memory-preallocation for chain history