normalize was not normalizing the first iteration