Shift rows by row.
Use MSVC _aligned_malloc and _aligned_free.