add loop unrolling for n_12