Evaluation of collapse load for masonry walls