Undid loop unrolling change since it itroduced a bug in TX/perf/test_encoding_34.perf