get indexes which are used(not dropped) nodes