main: expose average segment size (close #33)