NF: demeaning mapper