Removed the thresMask.