for hours sam moved on in a mindless trance , following and mimicking jacks every move as they crept from one devastated building to the next , as strip malls turned into small tightly packed homes in what was once a poor region of the city .