Make mask_N names uncorrelated within a problem

Otherwise it's an information leak to the view-source case.
One line of code with 5 lines of comments explaining it!