separated xSlicing from ySlicing

created seperate funcitons for x slicing and y slicing.
on this commit it is still a PROBLEM, memory allocation to save alements
for Y2 and Z.
but it runs a draws the object after y1 cut