Moved table init into exactly one routine; vastly optimized it through the power of math.
Made big heap per-thread.