Development of a new slicing methodology to improve layered manufacturing