Fix size declarations so loops work.