working on btree interval search