Print ancestors a bTree without recursion