print affinity mask