Text this: Using the risk theory for evaluating seismic stability of buildings in the Middle East