1.Solve the bugs of transtable::generate_state_rate.
2.Solve the bugs of the invalid access of tanstable::compress_blocks