Finish Building Inverted Index with normalization