Fix binary rank tree manager