Automatic definition of hazard-compatible accelerograms at non-rocky sites