Magic tree (construction)