Write Boundary Depth