update block_avx to align correctly and use pivot swap