bTree min depth reimpl