B tree works