Change the order of array so that we can utilize L1 cache more.