Effect of flanges on the in-plane behavior of the masonry walls