A criterion of crack propagation in timber