Adding native and manual minstacks, plus test script.