Update normalize.cpp