add local normalization