Condensed for loops in mask.
Condensed for loops in mask.

ctk3b/mbuild,tcmoore3/mbuild,summeraz/mbuild,Jonestj1/mbuild,Jonestj1/mbuild,iModels/mbuild,sallai/mbuild,summeraz/mbuild,tcmoore3/mbuild,iModels/mbuild,ctk3b/mbuild,sallai/mbuild