AVALANCHE: Change byte to unsigned int in for loops.