Optimize timeline code.