Ensuring all stack traces can be shortened