Fast Powder Bed Fusion Additive Manufacturing (Pbfam) Simulation And Optimization For Minimizing Part Distortions