Streaming the mask