Machine grinding wood