Simulation of buckling of internal features during selective laser sintering of metals