make mm compile stage decision