rename mmm to stack
rename test_mmm to test_stack
refactor mode matching method
export more variables in slab