It was no great distance, in those days, from the prison-door to the market-place. Measured by the prisoner's experience, however, it might be reckoned a journey of some length; for, haughty as her demeanour was, she perchance underwent an agony from every footstep of those that thronged to see her, as if her heart had been flung into the street for them all to spurn and trample upon.

What is the meaning of this excerpt?
The walk from prison to scaffolding grew farther over the years as the town expanded.
The walk from prison to scaffolding seemed a long and treacherous journey to Hester.
The walk from prison to scaffolding was short, but the onlookers were a violent crowd.
The walk from prison to scaffolding was both emotionally and physically painful for Hester.

The walk from prison to the market-place seemed like a long and agonizing journey for Hester.