Cutting wood with a chainsaw