Rename stack-sim, restructure constants