bin-, quad-, oct- tree for mesh refinements
quad(oct)tree is useful for mesh refinements, this package provides corresponding functionality. There are depth first and breadth first strategies available.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.