preparations for relative tree display