Apart from avoiding collisions with other people in the scene, people also should not collide with the sides of the pavement and with the subway. To enforce this, we just employ a force field parallel to the walls which is effective within some limited region of influence. This is the same as that employed in [3] for avoiding collisions with obstacles.