Optimized the integer-array processing.