A timber-working device has a frame, including a feed axis having first and second sides. A drive system independently feeds stems along the feed axis, and has a first rotary drive having a first wheel acting against a first stem on the first side, and a second rotary drive having a second wheel acting against a second stem on the second side. The device has at least two distance measurement devices, each side of the feed axis having an associated distance measurement device. Each generates measurement signals indicative of the length of stems fed along the feed axis, at least one of them indicative of rotation of one of the rotary drives. A processor receives the respective measurement signals, and for each of the first and second stems, determines the length of at least a portion of the stem fed by the drive system based at least in part on the respective measurement signals.