Build orientation optimization for multi-part production in additive manufacturing