A new approach to the problem of in-plan regularity in design of seismic buildings