private void buildData() {
        for (int i = 0; i < nodesSet.length; i++) {
            nodes = new Pair[nodesSet[i] != null ? nodesSet[i].size() : 1];
            nodes = nodesSet[i].toArray(nodes);
            Pair root = null;
            if (nodes != null && nodes.length > 0 && nodes[0] != null) {
                root = nodes[0];
            }
            printAll(root, i, 0, null, null, getRectNextLeft(i + 1), 0, 0);
        }
    }