Sensitivity analysis and lattice density optimization for sequential inherent strain method used in additive manufacturing process