Modeling and optimization of direct metal laser sintering process