PE287 quadtree encoding