analyse: restrict trace strings to avoid running over internal trace
buffer