improved performance of backtrace messages