Distinguishing local and global modes for reliable seismic analysis of architectural complexes and masonry aggregates