A box of size nbox is first stepped across the image and within the box a sigma clipping algorithm is used to mask out sources and any surrounding pixels affected by coincidence loss. Then the average of all remaining mod-8 tiles within a sliding box of size nbox is computed and used to produce the mod-8 map.