turnip: implement depthBounds