def allocate_new_object_number

            last_object = self.each_object(compressed: true).max_by {|object| object.no }
            if last_object.nil?
                no = 1
            else
                no = last_object.no + 1
            end

            [ no, 0 ]
        end
def allocate_new_object_number

            last_object = self.each_object(compressed: true).max_by {|object| object.no }
            if last_object.nil?
                no = 1
            else
                no = last_object.no + 1
            end

            [ no, 0 ]
        end
Returns a new number/generation for future object.