Adds sampling masks