new arrange of data [z,x,y]