new stopping criterion and bad data removal (manual)