Fix error in timing function chain formula