Case test 4: we confirm that apply method is faster than recursive one