Remove unnecessary constant variables by hardcoring values instead of looking up. Precalculate swaps that are known at compile time. Hardcode hashes_shown offset as zero for all TC / VC kernels.