The BruteForceAlgorithm does not work correctly...