try harder to convince compiler to vetorize the inner loop