global size collecting and stats printing