Optimal Structure in Heterogeneous Multi-state Series-parallel Reliability Systems