Reverted to 1d and inner loop + more optimization.
Reverted to 1d and inner loop + more optimization.

fedorovr/YaccConstructor,melentyev/YaccConstructor,RomanBelkov/YaccConstructor,melentyev/YaccConstructor,VereshchaginaE/YaccConstructor,sanyaade-g2g-repos/YaccConstructor,fedorovr/YaccConstructor,sanyaade-g2g-repos/YaccConstructor,YaccConstructor/YaccConstructor,melentyev/YaccConstructor,YaccConstructor/YaccConstructor,YaccConstructor/YaccConstructor,nbIxMaN/YaccConstructor,sanyaade-g2g-repos/YaccConstructor,nbIxMaN/YaccConstructor,Albiglittle/YaccConstructor,VereshchaginaE/YaccConstructor,Albiglittle/YaccConstructor,RomanBelkov/YaccConstructor,Albiglittle/YaccConstructor,nbIxMaN/YaccConstructor,RomanBelkov/YaccConstructor,VereshchaginaE/YaccConstructor,fedorovr/YaccConstructor