Cost optimization of additive manufacturing in wood industry