Prepared for test of almost brute force algorithm.