3 nested `for` loops, bad code smell.