def METHOD_NAME(self, batch, request):
    # do nothing if no gt binary maps were requested
    if self.skip_next:
        self.skip_next = False
        return
    for EZ_mask_type in self.EZ_masks_to_create:
        binary_map_type = self.EZ_masks_to_binary_map[EZ_mask_type]
        binary_map = batch.arrays[binary_map_type].data
        resolution = batch.arrays[binary_map_type].resolution
        EZ_mask = self.__get_exclusivezone_mask(
            binary_map,
            shape_EZ_mask=request.arrays[EZ_mask_type].get_shape(),
            resolution=resolution,
        )
        batch.arrays[EZ_mask_type] = Array(
            data=EZ_mask, roi=request.arrays[EZ_mask_type], resolution=resolution
        )