Fixed different heuristic behaviour between non-anytime and anytime variant of iterative algorithm.