refactor: remove engine argument from do_btree_elem_get_by_posi function.