Started modification brute_iter