Algorithm is flawed for extra rounds