Seismic displacement demand prediction in non-linear domain: Optimization of the N2 method