refactoring: btree trunk and leaf pages