Reduce number of loops in finder pattern decorator