Updated masking progress calculation