# File lib/treetop/runtime/interval_skip_list/interval_skip_list.rb, line 149 def next_node_height height = 1 while rand < probability && height < max_height height += 1 end height end