Custom stack for IVM. 2-3x faster.