Let gen_IM_data read total_freq.dat, and fix each entry in total_freq.dat to 32 bits.
Add total_freq.dat into cmake.
Let gen_IM_data assign total_freq divided by range to each leaf of index tree.