Line normalization