Replaced rb_ary_new_from_args with rb_ary_new3