public static void printSize(int size) {
        if (size <= 1024) {
            System.out.println("Vertex buffer object size: " + size + " B");
        } else if (size > 1024 && size < 1048576) {
            System.out.println("Vertex buffer object size: " + size / 1024 + " KB");
        } else {
            System.out.println("Vertex buffer object size: " + size / 1048576 + " MB");
        }
    }