Optimal electromagnetic shielding design considering multiple constraints