Adjusted backtrace call to reduce memory usage