A criterion to assess the relevance of structural flexibility on the seismic response of large buried structures