create a const of maximum output tail size
go fmt
change function names