corrected recursion counter
Merge branch 'algo-recfill'