Pre-calculate history through the 5th to speed up analysis.