The impact of process planning on cost and production losses in additive manufacturing