Text this: Optimization of process planning for reducing material waste in extrusion based additive manufacturing.