global tree pos array