Thou shalt not use more than 4k local variables in this code.