use combine function instead of xor for banding