Reduce redundancy in nested loop.

Printable View