added write avx assembly
added write avx assembly