function StaticTree(static_tree, extra_bits, extra_base, elems, max_length) {
        var that = this;
        that.static_tree = static_tree;
        that.extra_bits = extra_bits;
        that.extra_base = extra_base;