How a log is cut into lumber