@Test
    public void doPriorityQueue() {
        init();
        int count = 0;
        while (true) {
            Point x = prQueue.poll();

            squares.add(x);
            Point[] ppp = getPotentialPoints(x, getCrossPoint(x));
            prQueue.add(ppp[0]);
            prQueue.add(ppp[1]);
            if (count > 800000) break;
            count++;
            if (x.hx == 3 && x.hy == 3) System.out.println("RESULT " + squares.size());
        }
        System.out.println(squares.get(49).hx + " " + squares.get(49).hy);
    }