Finished the positioning function for all the array nodes in the ArrayTree