[perf check] iterate over maskdom