Efficient wood material planning