after some debugging with paul, found was using the wrong printing n/2+1 and how to do one slice at a time