A novel model for directed energy deposition-arc based on in-order stacking of primitives