refactor: simplify the arguments in mspells_4.c