Simulation with boundary graphs