Giving perms to merge terms