private Rectangle createRectangle(int cnt, Group root, byte[] datafile, int pageSize) {
        Rectangle rect;
        switch (cnt) {
            case 0:
                rect = createStaticPage(root, "contains a static file header");
                break;
            case 1:
                rect = createStaticPage(root, "contain the variable file header");
                break;
            case 2:
                rect = createStaticPage(root, "contain the variable file header(copy)");
                break;
//                        case 3:
//                            rect = createStaticPage(root, "contains the first free list page");
//                            break;
//                        case 4:
//                            rect = createStaticPage(root, "contains the meta table root page");
//                            break;
            default:
                String styleClass = "other-page";
                if (cnt == 3 || cnt == 4) {
                    styleClass = "static-page";
                }
                byte[] page = Arrays.copyOfRange(datafile, pageSize * cnt, pageSize * (cnt + 1));
                H2Page h2page = H2PageFactory.create(cnt,page);
                System.out.println(h2page.getPageTypeDesc());
                rect = createOtherPage(root, styleClass, h2page);

        }
        return rect;
    }