implemented region PU subtraction