public static Point getPointSize(int number) {
        int exp = greater2PowersExponent(number);
        int n2 = exp >> 1;
        int r = exp & 0x1;

        int sizey = 1 << n2;
        int sizex = sizey;
        if (r > 0) {
            sizex = sizex << 1;
        }

        return new Point(sizex, sizey);
    }