debug tank.mcse in alternative.R