Implemented buggy normalization algorithm.