a tree on a grid