coalescing with manually unrolled loops (no pragma unroll available)