remove the need for mask_max_1, now the mask's value is 1 for any pixel
that is masked.