The Most Complicated Algorithm Ive Ever Written Sqlite B-Tree Balancing