formula preserve nestyness