Lattice modeling of wood to predict failure and fracture