simplifying algorithm for handling a machine with a bad bootstrap.