Extact two_level_statistic_hash from initialize
Refactor peer and message data massaging

These common parts now live in the poorly named extract_and_size.  This
will make it easier to add minimum and maximum to Statistic.