GC.stress = true

if ARGV[0]
  nums = ARGV.map(&:to_i)
else
  nums = [0, 13, 0]
end

scr = nums.map do |n|
  "class A; " + "def a; end; " * n + "end; "
end.join

binary = RubyVM::InstructionSequence.compile(scr).to_binary
iseq = RubyVM::InstructionSequence.load_from_binary(binary)
