You described the problem, and we provided you with a corrected version; you need to test it on that version!
Regarding 2K (2 kilobytes or 2000), I already mentioned above that there's no problem in increasing the .exe file size, but it's more efficient to first fill the unused range... the point is that any program with a table (two-dimensional array) or a list (one-dimensional array) works as follows... it reserves a certain amount of memory in RAM (random access memory), and the central processing unit reserves some of its registers to manage all these arrays... what practical sense is there in filling them with meaningless empty data?!

---------------------------------------------
Неудачное планирование ведёт к неудаче ...
NCF - мод, добавляющий дополнительных существ в HeroesV 3.1