add average size column and docuemnt output