Add stats in file, fix sizes