Unrolled loop by hand, got rid of pragma.