This is a non-functional patch which shrinks the reductions array. This saves about 8Kb of memory.
The only slow part of master's reductions array is the calculation of the log values, so using a separate array for those values and calculating the rest real-time appears to be just as fast as master.