Using the shape of the log