BIM representation and classification of masonry pathologies using semi-automatic procedure