Added time information to the separate parts of the algorithm