The evacuation was prompted by concerns over ground shifting and cracks that were discovered in the building’s foundation.