The causes affecting the Degree of Earthquake damages to buildings