Changing Masks Compilation