invert and combine masks