beautify output of self cost