N*2 memory instead of N^2.
Merge branch 'a1t3-lcissq'