Clarify nested list comprehension
Don't use a munged "str_ng" for masks: use a pair of (init, tail)