improve inheritance ascendant iterator