remove unneeded relooper code
emit switches in relooper in many-entried multiple shapes