Fix an optimization thatmesses up the internal data of the realvec. For this optimization to work on 2D realvecs, data has to be reorganized inside the realvec...