def METHOD_NAME(self):
    kernel = bootstrap.bootstrap()
    try:
        kernel.console("rect 0 0 1in 1in\n")
        kernel.console("operation* delete\n")
        kernel.console("hatch\n")
        hatch = list(kernel.elements.ops())[0]
        rect = list(kernel.elements.elems())[0]
        # hatch.hatch_type = "eulerian"
        hatch.add_node(copy(rect))
        c = CutPlan("q", kernel.planner)
        # kernel.console("tree list\n")
        hatch.preprocess(kernel.root, Matrix(), c)
        c.execute()
        # kernel.console("tree list\n")
        path_node = hatch.children[0]
        shape = path_node.path
        self.assertEqual(len(shape), 50)
        print(shape)
    finally:
        kernel.shutdown()