Arduino UNO skips a cicle while or for!!!!

I use 8.226 bytes (max 32.256 bytes)

I think you are mixing up program memory and SRAM.

...R