fixed minor perf issues in avx/avx2 hybrid code