diff --git a/README.md b/README.md
index a9ce668..85874d1 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,167 @@
+### **实验计划说明报告:基于 `embedded_secondary-index` 的 `LevelDB` 实现及实验**
 
-**本仓库提供TTL基本的测试用例**
+------
 
-克隆代码:
+#### **1. 实验背景**
 
-```bash
-git clone --recurse-submodules https://gitea.shuishan.net.cn/building_data_management_systems.Xuanzhou.2024Fall.DaSE/leveldb_base.git
-```
+LevelDB 是一个高性能的持久化键值存储引擎,提供简单的 `API` 用于高效的读写操作。然而,传统 `LevelDB` 仅支持基于主键的快速查询,而无法直接支持对二级属性的查询需求。在许多场景(如搜索系统或复杂索引系统)中,需要支持高效的二级索引查询。
+
+本实验计划基于 `embedded_secondary-index` 的设计扩展了 `LevelDB`,支持通过嵌入式布隆过滤器实现的二级索引查询,并引入了 Top-K 查询功能以提升二级属性查询的实用性和效率。
+
+------
+
+#### **2. 实验目标**
+
+- 实现一个支持二级索引查询的 `LevelDB` 扩展版本。
+- 验证嵌入式二级索引的设计在读写性能和查询效率上的优越性。
+- 测试支持二级索引查询的数据库在 Top-K 查询功能上的性能表现。
+
+------
+
+#### **3. 系统设计**
+
+本实验采用 **`embedded_secondary-index`** 的实现方式,将二级索引嵌入到 `LevelDB` 的原有数据结构中。以下是系统的核心设计:
+
+##### **3.1 数据结构设计**
+
+1. **`MemTable`**:
+   - 在内存中维护主键与二级属性的数据映射关系。
+   - 对二级属性构建布隆过滤器以提高查询效率。
+2. **`SSTable`**:
+   - 每个 `SSTable` 包含多个数据块(存储键值对)、元数据块(记录索引信息)和布隆过滤器块(分别用于主键和二级属性的快速过滤)。
+   - 数据写入磁盘时,布隆过滤器被嵌入到 `SSTable` 中,避免额外的索引文件。
+3. **布隆过滤器**:
+   - 对每个数据块的二级属性计算布隆过滤器位串。
+   - 通过内存中加载的布隆过滤器快速筛选可能包含目标数据的块,减少磁盘 IO。
+
+##### **3.2 查询算法设计**
+
+1. **Top-K 查询**:
+   - 查询时,先通过布隆过滤器筛选出可能的 `SSTable` 和数据块。
+   - 使用小顶堆保存查询结果,根据 `sequence_number`(插入顺序)排序,最终返回最近的 K 条记录。
+2. **层次化查询流程**:
+   - 优先从 `MemTable` 查询;
+   - 若未命中,则逐层遍历 `SSTable`。
+
+------
+
+#### **4. 实验步骤**
+
+##### **4.1 系统实现**
+
+1. 修改 `LevelDB` 的源码以支持二级索引嵌入:
+   - 更新 `SSTable` 数据块结构,增加布隆过滤器支持;
+   - 修改 `Write` 和 `Flush` 流程,嵌入二级索引信息。
+2. 扩展数据库的 `API`:
+   - 实现二级索引的查询接口(`RangeLookUp` 和 `Top-K LookUp`)。
+3. 使用 Google Test 编写单元测试,验证功能正确性。
+
+##### **4.2 计划性能测试**
+
+1. **数据准备**:
+
+   - 生成包含主键和二级属性的模拟数据集。
+
+   - 数据格式示例:
+
+     ```json
+     { 
+       "primary_key": "id12345",
+       "secondary_key": "tag123",
+       "value": "This is a test record."
+     }
+     ```
+
+2. **测试指标**:
+
+   - 数据写入性能(`QPS`)。
+   - 基于二级属性的查询性能:
+     - 单次查询耗时;
+     - 不同 Top-K 参数下的查询性能;
+   - 对比嵌入式二级索引与传统外部索引在查询性能上的表现。
+
+3. **测试工具**:
+    计划使用 Benchmark 工具测量数据库的吞吐量与延迟。
+
+
+
+------
+
+#### **5. 附录:系统结构图**
+
+1. 下面提供一些建议的结构图,可以清晰说明基于 **`embedded_secondary-index`** 的设计和实现,适合配合实验报告使用:
+
+   ------
+
+   ### **1. 系统整体架构图**
+
+   **图示内容**
+    展示 `embedded_secondary-index` 的整体设计,包括主键、二级属性的存储方式,以及布隆过滤器与 `SSTable` 的嵌入关系。
+
+   **图示结构**
+
+   ![error](./Report/png/Structure1.svg)
+
+   - 要点说明:
+     1. 二级索引与布隆过滤器紧密嵌入 `SSTable` 的元数据块中,避免外部索引文件的开销。
+     2. 查询时,通过布隆过滤器快速过滤非相关 `SSTable`,只访问可能的匹配块。
+
+------
+
+   ### **2. 数据写入流程图**
+
+   **图示内容**
+    描述写入数据时如何解析主键和二级属性,并更新布隆过滤器和 `SSTable` 的流程。
+
+   **图示结构**
+
+![error](./Report/png/Structure2.svg)
+
+   - **要点说明**:
+      写入过程中,自动解析主键和二级属性,实时更新布隆过滤器,确保写入操作高效完成。
+
+------
+
+   ### **3. 数据查询流程图**
+
+   **图示内容**
+    展示基于二级属性查询的具体步骤,包括布隆过滤器筛选、块访问和结果返回。
+
+   **图示结构**
+
+![error](./Report/png/Structure3.svg)
+
+   - **要点说明**:
+      布隆过滤器用于筛选目标 `SSTable`,通过小顶堆实现 Top-K 的排序与记录收集,保证查询的效率。
+
+------
+
+   ### **4. `SSTable` 布局示意图**
+
+   **图示内容**
+    展示 `SSTable` 内部如何组织主键、二级属性和布隆过滤器的布局。
+
+   **图示结构**
+
+![error](./Report/png/Structure4.svg)
+
+   - **要点说明:**
+     1. 每个 `SSTable` 包含数据块(Data Blocks)、元数据块(Meta Block)和布隆过滤器块(Bloom Filter Blocks)。
+     2. 二级属性的布隆过滤器和主键布隆过滤器分别存储,提供不同维度的快速索引。
+
+------
+
+   ### **5. Top-K 查询堆排序示意图**
+
+   **图示内容**
+    以小顶堆为核心,说明查询结果如何按照时间顺序(`sequence_number`)进行排序。
+
+   **图示结构**
+
+![error](./Report/png/Structure5.svg)
+
+   - **要点说明**:
+      查询过程中,维护一个固定大小的小顶堆,仅保留最近的 K 条记录,大幅提高排序效率。
+
+------
 
diff --git a/Report/Scheme.md b/Report/Scheme.md
new file mode 100644
index 0000000..db0b909
--- /dev/null
+++ b/Report/Scheme.md
@@ -0,0 +1,167 @@
+### **实验计划说明报告:基于 `embedded_secondary-index` 的 `LevelDB` 实现及实验**
+
+------
+
+#### **1. 实验背景**
+
+LevelDB 是一个高性能的持久化键值存储引擎,提供简单的 `API` 用于高效的读写操作。然而,传统 `LevelDB` 仅支持基于主键的快速查询,而无法直接支持对二级属性的查询需求。在许多场景(如搜索系统或复杂索引系统)中,需要支持高效的二级索引查询。
+
+本实验计划基于 `embedded_secondary-index` 的设计扩展了 `LevelDB`,支持通过嵌入式布隆过滤器实现的二级索引查询,并引入了 Top-K 查询功能以提升二级属性查询的实用性和效率。
+
+------
+
+#### **2. 实验目标**
+
+- 实现一个支持二级索引查询的 `LevelDB` 扩展版本。
+- 验证嵌入式二级索引的设计在读写性能和查询效率上的优越性。
+- 测试支持二级索引查询的数据库在 Top-K 查询功能上的性能表现。
+
+------
+
+#### **3. 系统设计**
+
+本实验采用 **`embedded_secondary-index`** 的实现方式,将二级索引嵌入到 `LevelDB` 的原有数据结构中。以下是系统的核心设计:
+
+##### **3.1 数据结构设计**
+
+1. **`MemTable`**:
+   - 在内存中维护主键与二级属性的数据映射关系。
+   - 对二级属性构建布隆过滤器以提高查询效率。
+2. **`SSTable`**:
+   - 每个 `SSTable` 包含多个数据块(存储键值对)、元数据块(记录索引信息)和布隆过滤器块(分别用于主键和二级属性的快速过滤)。
+   - 数据写入磁盘时,布隆过滤器被嵌入到 `SSTable` 中,避免额外的索引文件。
+3. **布隆过滤器**:
+   - 对每个数据块的二级属性计算布隆过滤器位串。
+   - 通过内存中加载的布隆过滤器快速筛选可能包含目标数据的块,减少磁盘 IO。
+
+##### **3.2 查询算法设计**
+
+1. **Top-K 查询**:
+   - 查询时,先通过布隆过滤器筛选出可能的 `SSTable` 和数据块。
+   - 使用小顶堆保存查询结果,根据 `sequence_number`(插入顺序)排序,最终返回最近的 K 条记录。
+2. **层次化查询流程**:
+   - 优先从 `MemTable` 查询;
+   - 若未命中,则逐层遍历 `SSTable`。
+
+------
+
+#### **4. 实验步骤**
+
+##### **4.1 系统实现**
+
+1. 修改 `LevelDB` 的源码以支持二级索引嵌入:
+   - 更新 `SSTable` 数据块结构,增加布隆过滤器支持;
+   - 修改 `Write` 和 `Flush` 流程,嵌入二级索引信息。
+2. 扩展数据库的 `API`:
+   - 实现二级索引的查询接口(`RangeLookUp` 和 `Top-K LookUp`)。
+3. 使用 Google Test 编写单元测试,验证功能正确性。
+
+##### **4.2 计划性能测试**
+
+1. **数据准备**:
+
+   - 生成包含主键和二级属性的模拟数据集。
+
+   - 数据格式示例:
+
+     ```json
+     { 
+       "primary_key": "id12345",
+       "secondary_key": "tag123",
+       "value": "This is a test record."
+     }
+     ```
+
+2. **测试指标**:
+
+   - 数据写入性能(`QPS`)。
+   - 基于二级属性的查询性能:
+     - 单次查询耗时;
+     - 不同 Top-K 参数下的查询性能;
+   - 对比嵌入式二级索引与传统外部索引在查询性能上的表现。
+
+3. **测试工具**:
+    计划使用 Benchmark 工具测量数据库的吞吐量与延迟。
+
+
+
+------
+
+#### **5. 附录:系统结构图**
+
+1. 下面提供一些建议的结构图,可以清晰说明基于 **`embedded_secondary-index`** 的设计和实现,适合配合实验报告使用:
+
+   ------
+
+   ### **1. 系统整体架构图**
+
+   **图示内容**
+    展示 `embedded_secondary-index` 的整体设计,包括主键、二级属性的存储方式,以及布隆过滤器与 `SSTable` 的嵌入关系。
+
+   **图示结构**
+
+   ![error](./png/Structure1.svg)
+
+   - 要点说明:
+     1. 二级索引与布隆过滤器紧密嵌入 `SSTable` 的元数据块中,避免外部索引文件的开销。
+     2. 查询时,通过布隆过滤器快速过滤非相关 `SSTable`,只访问可能的匹配块。
+
+------
+
+   ### **2. 数据写入流程图**
+
+   **图示内容**
+    描述写入数据时如何解析主键和二级属性,并更新布隆过滤器和 `SSTable` 的流程。
+
+   **图示结构**
+
+![error](./png/Structure2.svg)
+
+   - **要点说明**:
+      写入过程中,自动解析主键和二级属性,实时更新布隆过滤器,确保写入操作高效完成。
+
+------
+
+   ### **3. 数据查询流程图**
+
+   **图示内容**
+    展示基于二级属性查询的具体步骤,包括布隆过滤器筛选、块访问和结果返回。
+
+   **图示结构**
+
+![error](./png/Structure3.svg)
+
+   - **要点说明**:
+      布隆过滤器用于筛选目标 `SSTable`,通过小顶堆实现 Top-K 的排序与记录收集,保证查询的效率。
+
+------
+
+   ### **4. `SSTable` 布局示意图**
+
+   **图示内容**
+    展示 `SSTable` 内部如何组织主键、二级属性和布隆过滤器的布局。
+
+   **图示结构**
+
+![error](./png/Structure4.svg)
+
+   - **要点说明:**
+     1. 每个 `SSTable` 包含数据块(Data Blocks)、元数据块(Meta Block)和布隆过滤器块(Bloom Filter Blocks)。
+     2. 二级属性的布隆过滤器和主键布隆过滤器分别存储,提供不同维度的快速索引。
+
+------
+
+   ### **5. Top-K 查询堆排序示意图**
+
+   **图示内容**
+    以小顶堆为核心,说明查询结果如何按照时间顺序(`sequence_number`)进行排序。
+
+   **图示结构**
+
+![error](./png/Structure5.svg)
+
+   - **要点说明**:
+      查询过程中,维护一个固定大小的小顶堆,仅保留最近的 K 条记录,大幅提高排序效率。
+
+------
+
diff --git a/Report/Scheme.pdf b/Report/Scheme.pdf
new file mode 100644
index 0000000..fcf7c66
Binary files /dev/null and b/Report/Scheme.pdf differ
diff --git a/Report/png/Structure1.svg b/Report/png/Structure1.svg
new file mode 100644
index 0000000..dfa9e72
--- /dev/null
+++ b/Report/png/Structure1.svg
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Do not edit this file with editors other than draw.io -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="471px" height="472px" viewBox="-0.5 -0.5 471 472" content="&lt;mxfile host=&quot;&quot; modified=&quot;2024-11-25T08:34:52.813Z&quot; agent=&quot;Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) yiyang-suite/2.4.6 Chrome/122.0.6261.156 Electron/29.4.2 Safari/537.36&quot; etag=&quot;ISvgfyGRTB3O-6ZUeUUE&quot; version=&quot;22.1.11&quot; type=&quot;nutstore&quot;&gt;&lt;diagram id=&quot;C5RBs43oDa-KdzZeNtuy&quot; name=&quot;Page-1&quot;&gt;7Vlbc5s4FP41eoyHi8Hm0fiSbZt00nV2s33akUHYmghEQY5xf30lJDA3x7Ubx00nyQyWPklH0vk+DjoAzHGYXScwXt1SHxFgaH4GzAkwjIFh8qsAthKwHF0CywT7EqoAc/wdKVBT6Br7KK11ZJQShuM66NEoQh6rYTBJ6KbeLaCkPmsMl6gFzD1I2ugD9tlKokNjsMP/Qni5KmbWbUe2LKD3uEzoOlLzAcMMgkC2pWxb2I8JxJFEQ1iYV3tPV9CnmwpkToE5TihlshRmY0SEtwtPPnzYPpCbR/v645f0G/zH/XT/+d8raWx2zJBy0wmK2Mmmg/DL/UPm+IPA979ff4TB/8Htla708ATJGhWeafiE7zsWxYCgbCQ4BKaLIl8VJx6BaYo9Dq5YSDig82LuaSRm1nhto6gyzJ5mVv+lJSWzQU8bDCv/Dm9NWUIf0ZgSmuSLMe38j7fIZSK/pZcDTtJL5vg9gmiIWLLl4zY7NVmK71VFSAWWIAIZfqrPCZWol6W5coY7ivlqDE3df1Zhp7j9bK1n1Y2kdJ14SI2r0tkwZWoNU5bTNMVgskSsZYoXKlvfQblejtCO1iEdm3CHuQHNV7rTkP1tTYuGqzSne8Q76Fac5VQW7SIkQK8+5h6HPOIY2me04de/aQij6gB7KX5HcUywx6mhUbEIvie5DtmjJeuGRFeYoXksJ9/w2FnXs9oqShjKXkRvhRWjzqJuq3pFjyVWFWRf26+9GtHHsqr/RqzeoCdEJu6bZrRk6mKMGr8Ro7covIcLPttbptQ0Lk1p11P7UpTyXxgKJqJFGktDTWg+V6RrYDoD7hgMh2BqAVcHQwNMbTAag5EOpgPgusAxBeJMwbBfdHbOohahE/7IICOClxHHGBUdoKoRFIgpUj4cR8ubvJZbJXCByB1Ncf6s4ccfriyUVOzdNDqE2PfFAl9Nnn3tJ+WpO+fSZ7+lzwlk0CXUeyy4XCQnylRy3+v1fo1+MdEMhpgIr3UJXXZRZ1PdOieBZoNAs4PA/jOn0hfnz2rxd4tK/v5Urzs/6fWzRXW75XXucRpyaIaJCDKG9mdTYHWdlV6VgkHHg7Xh7ONSX5Rh9p8o9yxV+6r6ifIkq3SbbItKxLdSGSSqX6ttu2F5rRgHfiUl5nvMM8/DCZ9MKw+lEJdKsU17TzA9NsHu641T37Bh6Mzp9fAoKUY0Qs/qcI+m9AOa6tav9qx+z61D4y3o0Gieyk7VoTG4rA6ddx0+n4Ud1KHxrsMX0GERjjuSXlxkBXcJDmHuXBj5/DpHHo18iXzgKsz4rzjJ+jwbqSSVeG9GyQ88rC7nIkFs5X1FHlnmewnieUye90o5xsIzua8sF1gTYWvNaKrOWa2X3epOCjAhDehcxzFTb56IrdZxzDA7pNqU1Mu9jOx6G9mg6P3zxPk+T+gNEyd/nNBfOVbsf+dZ3uut3Cqg4lqGkFk1eHxC2/Q9YBwKGFa/I2B05W8nBAxe3X1qlTrZfeE2pz8A&lt;/diagram&gt;&lt;/mxfile&gt;" style="background-color: rgb(255, 255, 255);"><defs/><g><path d="M 449.55 408.98 L 449.45 432.01 L 222.69 431.11 L 222.65 441.61 L 200.5 419.5 L 222.82 397.58 L 222.78 408.08 Z" fill="none" stroke="#666666" stroke-miterlimit="10" pointer-events="all"/><rect x="20" y="20" width="160" height="40" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 158px; height: 1px; padding-top: 40px; margin-left: 21px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;"><font face="Times New Roman" style="font-size: 15px;">Application</font></div></div></div></foreignObject><text x="100" y="44" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">Application</text></switch></g><rect x="20" y="100" width="160" height="40" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 158px; height: 1px; padding-top: 120px; margin-left: 21px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;"><font face="Times New Roman" style="font-size: 15px;">LevelDB</font></div></div></div></foreignObject><text x="100" y="124" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">LevelDB</text></switch></g><rect x="20" y="180" width="160" height="40" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 158px; height: 1px; padding-top: 200px; margin-left: 21px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;"><font face="Times New Roman" style="font-size: 15px;">MemTable</font></div></div></div></foreignObject><text x="100" y="204" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">MemTable</text></switch></g><rect x="20" y="260" width="160" height="190" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe flex-start; width: 158px; height: 1px; padding-top: 267px; margin-left: 22px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: left;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;"><font face="Times New Roman" style="font-size: 15px;">   SSTable (层次结构)</font></div></div></div></foreignObject><text x="22" y="279" fill="#000000" font-family="Helvetica" font-size="12px">   SSTable (层次结构)</text></switch></g><rect x="30" y="290" width="140" height="50" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 138px; height: 1px; padding-top: 315px; margin-left: 31px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 15px; font-family: &quot;Times New Roman&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">DataBlock<br style="font-size: 15px;" />...</div></div></div></foreignObject><text x="100" y="320" fill="#000000" font-family="Times New Roman" font-size="15px" text-anchor="middle">DataBlock...</text></switch></g><rect x="30" y="350" width="140" height="40" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 138px; height: 1px; padding-top: 370px; margin-left: 31px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 15px; font-family: &quot;Times New Roman&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">MetaBlock</div></div></div></foreignObject><text x="100" y="375" fill="#000000" font-family="Times New Roman" font-size="15px" text-anchor="middle">MetaBlock</text></switch></g><rect x="30" y="400" width="140" height="40" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 138px; height: 1px; padding-top: 420px; margin-left: 31px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 15px; font-family: &quot;Times New Roman&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Bloom Filter Block</div></div></div></foreignObject><text x="100" y="425" fill="#000000" font-family="Times New Roman" font-size="15px" text-anchor="middle">Bloom Filter Block</text></switch></g><path d="M 100 60 L 100 93.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 100 98.88 L 96.5 91.88 L 100 93.63 L 103.5 91.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><path d="M 100 180 L 100 140" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 100 260 L 100 220" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><rect x="210" y="355" width="230" height="30" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 370px; margin-left: 325px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;"><i>Primary and Secondary Index Metadata</i></div></div></div></foreignObject><text x="325" y="374" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">Primary and Secondary Index Metadata</text></switch></g><path d="M 449.55 359.48 L 449.45 382.51 L 222.69 381.61 L 222.65 392.11 L 200.5 370 L 222.82 348.08 L 222.78 358.58 Z" fill="none" stroke="#666666" stroke-miterlimit="10" pointer-events="all"/><rect x="210" y="405" width="240" height="30" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 420px; margin-left: 330px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;"><i>Bloom Filter for Primary/Secondary Keys</i></div></div></div></foreignObject><text x="330" y="424" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">Bloom Filter for Primary/Secondary Keys</text></switch></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.drawio.com/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text></a></switch></svg>
\ No newline at end of file
diff --git a/Report/png/Structure2.svg b/Report/png/Structure2.svg
new file mode 100644
index 0000000..c2654ca
--- /dev/null
+++ b/Report/png/Structure2.svg
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Do not edit this file with editors other than draw.io -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="261px" height="391px" viewBox="-0.5 -0.5 261 391" content="&lt;mxfile host=&quot;&quot; modified=&quot;2024-11-25T08:45:55.592Z&quot; agent=&quot;Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) yiyang-suite/2.4.6 Chrome/122.0.6261.156 Electron/29.4.2 Safari/537.36&quot; etag=&quot;EsONFnmyux--zUQewm2H&quot; version=&quot;22.1.11&quot; type=&quot;nutstore&quot;&gt;&lt;diagram id=&quot;C5RBs43oDa-KdzZeNtuy&quot; name=&quot;Page-1&quot;&gt;7VjbcpswEP0aZtqHdDDE2H4MdtOmaTJpnUvz1JFBYNUCUSFqu1/fFRJ34lzaOtPLC0hH0kq757AsGPY02rzhKFmeMR9TwzL9jWHPDMtyxhZcJbBVwHA4UkDIia+gQQXMyXesQVOjGfFx2pgoGKOCJE3QY3GMPdHAEOds3ZwWMNrcNUEh7gBzD9EuekN8sVTo2BpV+FtMwmWx88CZqJEF8lYhZ1ms9zMsOwgCNZaKbWE/oYjECo1QYV77ni6Rz9Y1yH5t2FPOmFCtaDPFVEa7iOTNyfaGvl85b959SL+iK/f08vz6QBk7fsyS0mmOY/Fk0/HiFn26Po/Xby+u0e2X5Gx46ukl5jdEMx0BY+QmnESIbz+v8NawpmrYGM06wcrDiaV507Dd9ZIIPE+QJ0fXoD7AliKi0BtAM2CxOEYRoVJ5U5ZxgjmYO8cQUVefAnOBNy2i7/F5UBIBkscswoLDoc3CSsHdttVfV+IZjDW2rAnnUGNI6zUsTVcRhoYO8iMCPugG3HIo7OqmCQLlOaFsXyCeYph2oZgopix4MQH2nmN4yPx81DzF5RwYqVv6jaTJwbk2bO6LQct8bgatPgZRJCMXL9Ikj7nZhTSDBS9XiY+EpPgMR5doAUGs+FtU5HV5VwipAY2NDsDkDSe56aRQj7nCvRrqLj3y/Tylw8WljEVwPyZUSNbL45G9a8t2ESVhDG2Kg2rnPaht3FVbqcC62pzfpTb7znwhQ9QIv/M1Y8XAQZq/uo9gwsBKNoptPX4X/ztkqzJKz14eo4yrfXi4eDEcqBdGdX+pDFev34PaEhITQeDdcsfpftZNM1Daq7CmzO7cs3wA53P9bJrHNEuXcH9xEuSrMej85a5nFjB19A7cTM8PeCr7OSF7JmSWwSnq+UqliTJEffnhj3GuTMftrCcBb7XLuw7Rf3tStPuSorXPpHjYkxRbUcexfyS/N6DnUZSmxGsGuskK3hDxSbZfDXXvVs+T7dmmNm22LToxuFJbJLu39bFqWd4r1qmjYr/zofMQksBHEIXOajtLeoF4iMV9lWiX9Bqpwx5OC4xjigT51vShj2i9wwUjeR7XmrInrRftpKUV5aZeVf+qaRk6PGwZatd9Kg4dQ7nuSrefLkXnn5Xic0nHMievRs5u0h+qnj5b4/0KaPRfQM8vIPsXCsjes4DGHQFdpXnRcBInmchLn5aeoD4QTQW1KglZQxAP0SMNR8T35WKXYyi483JP8Z9Ip3I3h64xnElLmWCqKM8Np4KzFZ6qImwWs1haCQilbahe91ySCKdFjW5+ZBHUy/srbybd6qbv/4L9+OIGutXfQkV/9ZPWfv0D&lt;/diagram&gt;&lt;/mxfile&gt;" style="background-color: rgb(255, 255, 255);"><defs/><g><rect x="20" y="50" width="180" height="40" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 178px; height: 1px; padding-top: 70px; margin-left: 21px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">{primary_key, val}</div></div></div></foreignObject><text x="110" y="74" fill="#000000" font-family="Courier New" font-size="12px" text-anchor="middle">{primary_key, val}</text></switch></g><rect x="20" y="130" width="180" height="40" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 178px; height: 1px; padding-top: 150px; margin-left: 21px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;"><span>Parse Primary<br />/Secondary Key</span></div></div></div></foreignObject><text x="110" y="154" fill="#000000" font-family="Courier New" font-size="12px" text-anchor="middle">Parse Primary...</text></switch></g><rect x="20" y="210" width="200" height="60" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 198px; height: 1px; padding-top: 240px; margin-left: 22px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: left;"><div style="display: inline-block; font-size: 12px; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">   <b>Update MemTable</b><br /><i> - Write primary key<br /> - Add to Bloom Filter</i></div></div></div></foreignObject><text x="22" y="244" fill="#000000" font-family="Courier New" font-size="12px">Update MemTable...</text></switch></g><rect x="20" y="310" width="220" height="60" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 218px; height: 1px; padding-top: 340px; margin-left: 22px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: left;"><div style="display: inline-block; font-size: 12px; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;"><font style="font-size: 12px;">   <span style="color: rgb(51, 51, 51); background-color: initial;"><font face="Courier New" style="font-size: 12px;"><b>SSTable Flush (If Needed)</b></font></span><br /> - <i style="color: rgb(51, 51, 51); background-color: initial;">Dump MemTable to SSTable</i><br /> - <i style="color: rgb(51, 51, 51); background-color: initial;">Update Bloom Filter Block</i></font></div></div></div></foreignObject><text x="22" y="344" fill="#000000" font-family="Courier New" font-size="12px">SSTable Flush (If Needed)...</text></switch></g><path d="M 110 90 L 110 123.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 110 128.88 L 106.5 121.88 L 110 123.63 L 113.5 121.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><path d="M 109.76 170 L 109.76 203.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 109.76 208.88 L 106.26 201.88 L 109.76 203.63 L 113.26 201.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><path d="M 109.76 270 L 109.76 303.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 109.76 308.88 L 106.26 301.88 L 109.76 303.63 L 113.26 301.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="20" y="20" width="80" height="30" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 1px; height: 1px; padding-top: 35px; margin-left: 22px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: left;"><div style="display: inline-block; font-size: 12px; font-family: &quot;Times New Roman&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">User Input:</div></div></div></foreignObject><text x="22" y="39" fill="#000000" font-family="Times New Roman" font-size="12px">User Input:</text></switch></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.drawio.com/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text></a></switch></svg>
\ No newline at end of file
diff --git a/Report/png/Structure3.svg b/Report/png/Structure3.svg
new file mode 100644
index 0000000..281c273
--- /dev/null
+++ b/Report/png/Structure3.svg
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Do not edit this file with editors other than draw.io -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="261px" height="481px" viewBox="-0.5 -0.5 261 481" content="&lt;mxfile host=&quot;&quot; modified=&quot;2024-11-25T08:53:40.976Z&quot; agent=&quot;Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) yiyang-suite/2.4.6 Chrome/122.0.6261.156 Electron/29.4.2 Safari/537.36&quot; etag=&quot;iiGvlmZQDYKvcIovMgJ_&quot; version=&quot;22.1.11&quot; type=&quot;nutstore&quot;&gt;&lt;diagram id=&quot;C5RBs43oDa-KdzZeNtuy&quot; name=&quot;Page-1&quot;&gt;7Vlbc+I2FP41nmkf2DF2MPDIZbNJt8k0cdp0nzrCPgYNsuXIcgL763tk2fgGKdAQ2tnwANJn6cjnO5+OLhj2JFx9ESRe3HAfmGGZ/sqwp4ZlOQMLvxWw1kCv19fAXFBfQ90ScOl3yEEzR1PqQ1JrKDlnksZ10ONRBJ6sYUQI/lJvFnBWHzUmc2gBrkdYG32kvlxodGD1S/wK6HxRjNx1hvrJjHjLueBplI9nWHYQBPpZIteF/ZgRGmk0JIX53PdkQXz+UoHsz4Y9EZxLXQpXE2CK7YLJx+v1I/t16Xz55S55Ir+Pvz7c/tHRxi4P6bJxWkAkjzY9uRpe2X9B2L+7H5CAOMvlyMy7mM+EpTkDLmDsfCLWCH8F9W1YY1VucZWxCcq6adjjlwWV4MbEU09fUHyILWTIsNbFYsAjeUlCypTwJjwVFASauwUkdJy/BAgJq0ac/8Hl7iYOqHjgIcjsxQsrRejWjfpLqZ1NeBcV3VzkGMnlOt+YLgnGQs7xAXx3W3wblsNw1HESExSeM5cZHxqbVQASKkajWRJndbMJTRbgLREfM85D/L2kTCqKc0uiaRtff9bEfPpcC7HzlPL8eVmq9dBvvaVLOd86HmdcGPZIcRNRSQnbZbLmUAfbX/sYfhqokHok8qlPJGDZdR/IDAcsXdnGHsKZQy203vhkqlYP3dywskUYnUdYZhCUI59e9Ja5p+h7pxK9tVP0iqKt8lEPOkm2/CjddK141RCNGeiglFid/52SpQdMqopo6N7Sr+hdzGc/9TBcyJtZ/v6sBztqihR5Ya9ZigunesVJe+okr6WBHfOpnUN2Utl5EyK1CDScUSNxCnmavNOR7AIR3gIb3YAkOqF6y+SDG/U78jxIkAtzSvbnBmE9z3+YjDvcM+M6p8q49n8q4/6LMY/fD50xTU84Y+rwY5kPPO7gxtm8x0218A9PIo3svF8eoe/s7g0emWR2bDJvaNS5Apyzr6S0mpd7Z8Z6BjmPoy4XKqgzNfVdeEoh8tSSepuGs3Knvc3lHy4D2mfPgL0tGbDBOkT+SF1JYM1jJEmy5bNCdD0qsKLyT1X+1Mtr3/J2qjxdVZpN10UlQlcqnVT1W/VZ2S2rFf30q4Lfugs5LkiVIPRe2fcLYETS5/qY2wKTj/Abp1leXxXxHX7qO/WFsHmkSFCuHuQdq3cVe9gaNmxJIuYgW7YytWycP15AzoeAzi8g+w0FZL+zgPotAd2lkNF5HcWpzJabhqAwK8u6hBr5W2Vu6hE2yuGQ+r7qPBaA26jsTkQLIFZeZX72xkZvqiylkuutVmY4kYIvYaIXvmnEI2UloIw1oepq80BDdXLUuz3znoe4h3m/RWXLmjLcokb7VEvK4CMjnCEjXFjD8jOoCaLb3D0ckh1esbu5MXunTDHcIqzGgeceZCqi2okiSZnccY3zv7+ov9h3/3i6i/r2PyMfs/3Es91uiODoxb9p6M1WfqyW//fp5uXfrPbnvwE=&lt;/diagram&gt;&lt;/mxfile&gt;" style="background-color: rgb(255, 255, 255);"><defs/><g><rect x="20" y="50" width="220" height="40" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 218px; height: 1px; padding-top: 70px; margin-left: 21px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Secondary Key + K</div></div></div></foreignObject><text x="130" y="74" fill="#000000" font-family="Courier New" font-size="12px" text-anchor="middle">Secondary Key + K</text></switch></g><rect x="20" y="130" width="220" height="50" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 218px; height: 1px; padding-top: 155px; margin-left: 22px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: left;"><div style="display: inline-block; font-size: 12px; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;"><span><b>   Check Bloom Filter<br /></b><div style=""><span style="background-color: initial;"> - Identify candidate SSTable</span></div></span></div></div></div></foreignObject><text x="22" y="159" fill="#000000" font-family="Courier New" font-size="12px">Check Bloom Filter...</text></switch></g><rect x="20" y="220" width="220" height="60" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 218px; height: 1px; padding-top: 250px; margin-left: 22px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: left;"><div style="display: inline-block; font-size: 12px; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;"><font face="Courier New" style="font-size: 12px;"><i>   </i><span style="color: rgb(51, 51, 51); background-color: initial;"><b style="">Scan Candidate SSTables</b></span><br /><i> - </i><span style="font-style: italic; color: rgb(51, 51, 51); background-color: initial;">Search Meta Blocks</span><br /><i> - </i><span style="font-style: italic; color: rgb(51, 51, 51); background-color: initial;">Access Data Blocks</span></font></div></div></div></foreignObject><text x="22" y="254" fill="#000000" font-family="Courier New" font-size="12px">Scan Candidate SSTables...</text></switch></g><rect x="20" y="320" width="220" height="60" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 218px; height: 1px; padding-top: 350px; margin-left: 22px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: left;"><div style="display: inline-block; font-size: 12px; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;"><font face="Courier New" style="font-size: 12px;"><font style="font-size: 12px;"><b>   <span style="color: rgb(51, 51, 51); background-color: initial;">Collect Top-K Records</span><br /></b> - <i style="color: rgb(51, 51, 51); background-color: initial;">Maintain Min-Heap</i><br /> - </font><i style="color: rgb(51, 51, 51); background-color: initial;">Sort by Sequence Number</i></font></div></div></div></foreignObject><text x="22" y="354" fill="#000000" font-family="Courier New" font-size="12px">Collect Top-K Records...</text></switch></g><path d="M 129.76 180 L 129.76 213.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 129.76 218.88 L 126.26 211.88 L 129.76 213.63 L 133.26 211.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><path d="M 129.76 280 L 129.76 313.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 129.76 318.88 L 126.26 311.88 L 129.76 313.63 L 133.26 311.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="20" y="20" width="90" height="30" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 1px; height: 1px; padding-top: 35px; margin-left: 22px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: left;"><div style="display: inline-block; font-size: 12px; font-family: &quot;Times New Roman&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;">Query Input:</div></div></div></foreignObject><text x="22" y="39" fill="#000000" font-family="Times New Roman" font-size="12px">Query Input:</text></switch></g><path d="M 129.43 90 L 129.43 123.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 129.43 128.88 L 125.93 121.88 L 129.43 123.63 L 132.93 121.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="20" y="420" width="220" height="40" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 218px; height: 1px; padding-top: 440px; margin-left: 21px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;"><b>Return Top-K Results</b></div></div></div></foreignObject><text x="130" y="444" fill="#000000" font-family="Courier New" font-size="12px" text-anchor="middle">Return Top-K Results</text></switch></g><path d="M 130 380 L 130 413.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 130 418.88 L 126.5 411.88 L 130 413.63 L 133.5 411.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.drawio.com/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text></a></switch></svg>
\ No newline at end of file
diff --git a/Report/png/Structure4.svg b/Report/png/Structure4.svg
new file mode 100644
index 0000000..1d34337
--- /dev/null
+++ b/Report/png/Structure4.svg
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Do not edit this file with editors other than draw.io -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="323px" height="223px" viewBox="-0.5 -0.5 323 223" content="&lt;mxfile host=&quot;&quot; modified=&quot;2024-11-25T08:59:13.378Z&quot; agent=&quot;Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) yiyang-suite/2.4.6 Chrome/122.0.6261.156 Electron/29.4.2 Safari/537.36&quot; etag=&quot;_D6KkkPmjON-JDcBwb71&quot; version=&quot;22.1.11&quot; type=&quot;nutstore&quot;&gt;&lt;diagram id=&quot;C5RBs43oDa-KdzZeNtuy&quot; name=&quot;Page-1&quot;&gt;7VfbctowEP0az9AHGNkOlzyWW9qmpO04LY8ZYcu2Btkysohxvz5rJAEGkkJb0s60L0g6K+1qzx7JwnIHyepG4Cye8IAwy0HBynKHluN0eg78VkCpgHa7q4BI0EBB9hbw6HeiQaTRJQ1IXpsoOWeSZnXQ52lKfFnDsBC8qE8LOatHzXBEDgDPx+wQndJAxgrtOd0t/o7QKDaR7c61ssywP48EX6Y6nuW4YRgqWy5L4z9jmKYKTbBxr3PPYxzwYgdyR5Y7EJxL1UtWA8Iqtg2T0/fllH2cd24+fMkX+Gv/9v7uW1M5G5+zZJO0IKn8adcTfi1m6FP6uIiGzTiaUjGaNq+U60fMlsQQs0fJmjRSOUGW2y9iKomXYb+yFqAxwGKZMBjZ0M2l4PNNaVxAdAAiJFnt1fAH6dgbjkHNhCdEihLWaS89XZWyPiy2qthg8a4iDIi1EqON5y130NH0nUElOqDS8+7xDGh00JhWza8QG/JUjnFCWZXvgC8FJQLc3ZFCGz3t+LAK9t9XBfdSRbCP6LnDZMVJhtMa/53Fsjq5a/Kahd7cW5iScpFgtibNzIFeVLVDLDHM6DPuz6GFaKiRCZpgUT7MCWx/YIK/MXFnwiw2CCSmNlOHT9/gFUKn7M75M7t7gb5Wq3VG4Fc7LpjRKIU+I6FO1adpVBnR6x0d2z7x7HQvdXacy54dkCVP1F0o18UwOm18VhqF7i0p8yPafH6pR+ClERxZ/I+ryTlVTe1Lqcn9DWp67qKbkNpF18iNCtQ1hyiUdvVfCnsvngt8lGG4ff+ubTt/O9zREw==&lt;/diagram&gt;&lt;/mxfile&gt;" style="background-color: rgb(255, 255, 255);"><defs/><g><rect x="21" y="21" width="280" height="180" fill="#ffffff" stroke="#000000" stroke-width="3" pointer-events="all"/><rect x="21" y="21" width="280" height="30" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 278px; height: 1px; padding-top: 36px; margin-left: 22px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; overflow-wrap: normal;">SSTable File</div></div></div></foreignObject><text x="161" y="40" fill="#000000" font-family="Courier New" font-size="12px" text-anchor="middle" font-weight="bold">SSTable File</text></switch></g><rect x="21" y="51" width="280" height="70" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 262px; height: 1px; padding-top: 86px; margin-left: 31px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: left;"><div style="display: inline-block; font-size: 12px; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; overflow-wrap: normal;"><span style="font-weight: normal;">Data Block 1 (primary_key, value)<br /></span><span style="font-weight: 400;">Data Block 2 (primary_key, value)<br /></span><span style="font-weight: normal;">...<br /></span></div></div></div></foreignObject><text x="31" y="90" fill="#000000" font-family="Courier New" font-size="12px" font-weight="bold">Data Block 1 (primary_key, value)...</text></switch></g><rect x="21" y="151" width="280" height="50" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 262px; height: 1px; padding-top: 176px; margin-left: 31px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: left;"><div style="display: inline-block; font-size: 12px; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; overflow-wrap: normal;"><span style="font-weight: normal;">Bloom Filter Block (Primary Keys)<br />Bloom Filter Block (Secondary Keys)</span></div></div></div></foreignObject><text x="31" y="180" fill="#000000" font-family="Courier New" font-size="12px" font-weight="bold">Bloom Filter Block (Primary Keys)...</text></switch></g><rect x="21" y="121" width="280" height="30" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 262px; height: 1px; padding-top: 136px; margin-left: 31px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: left;"><div style="display: inline-block; font-size: 12px; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; overflow-wrap: normal;"><span style="font-weight: 400;">Meta Block (secondary_key index)</span></div></div></div></foreignObject><text x="31" y="140" fill="#000000" font-family="Courier New" font-size="12px" font-weight="bold">Meta Block (secondary_key index)</text></switch></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.drawio.com/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text></a></switch></svg>
\ No newline at end of file
diff --git a/Report/png/Structure5.svg b/Report/png/Structure5.svg
new file mode 100644
index 0000000..c0fb5e3
--- /dev/null
+++ b/Report/png/Structure5.svg
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Do not edit this file with editors other than draw.io -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="251px" height="550px" viewBox="-0.5 -0.5 251 550" content="&lt;mxfile host=&quot;&quot; modified=&quot;2024-11-25T09:07:55.053Z&quot; agent=&quot;Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) yiyang-suite/2.4.6 Chrome/122.0.6261.156 Electron/29.4.2 Safari/537.36&quot; etag=&quot;7dissOGxI7SgW464MIq1&quot; version=&quot;22.1.11&quot; type=&quot;nutstore&quot;&gt;&lt;diagram id=&quot;C5RBs43oDa-KdzZeNtuy&quot; name=&quot;Page-1&quot;&gt;7ZhNc5swEIZ/DcfMAApgH2Py2TSZSZw0bS8dxQissZCIELHdX18JCQPGbpwmdjrjXDzyi3YFu88uQhYI09kZh9n4ikWIWK4dzSxwbLmu33PlrxLmWvC8QAsJx5GWnFoY4t/IiLZRCxyhvDVRMEYEztriiFGKRqKlQc7ZtD0tZqS9agYT1BGGI0i66gOOxFirPTeo9XOEk3G1suP39ZVHOJoknBXUrGe5II5jfS0X88p/RiCmWk1h5d48ez6GEZs2JHBigZAzJvQonYWIqGhXkXy4mD+QrxP/7MtN/gTvB5d3198OtLPT15gsHpojKv7Z9S+a3N//6F/D0c9JHLHvJ8GtZ0zsZ0gKE4EQ0ghHUCAp36IR41HeiVIZR6T82hYYTMdYoGEGR+rqVGIntbFIifznyGHMqDiFKSYKuZAVHCMu3V0jGcoBJDihUicolk82yKUXTBNlaRvToVnWBOEZcYFmSzC8EBdnkSxZFoilSPC5tDNeeiYGpiKcKt3Tmi/HN9q4wRYwGjRIJwvPdRLkwOThFTlxOjmxXJ+Y8Eg4/USNrWAwQXM5N1S5QU86ZsFxNVcu3Zpu5Ee+rHSdui2nXsNp13rNMl2noOnUtd/H6WHT6TvdqNf0Cf4a0l2VRbMO7G6Z7KoyvA0ro7+tynA7lXGF6cE5krHdpxYF7I9uUWDPWtSeVz4AGwLnbwu4ww5wp5hCZbaXHeBw01a8tQ7gvaIDrC/WN3SArewnPt/964DrfXQH8F8ArpEM/6lgVegO8vIb9khOcJxsprNvri/zgCvhpkDyjkujofwEohEsQ3OJ1G9tL2DiNL0pdC7VDHUTNmigg18kcgknmU3RZmYJC5VxLL+Lj4yc4ihSxgOO5BPDxwUvGcNUlMnwBpZ3rDwVgumolI5zwdkEhYwwLhXKqPISY0KWpSUQWxDf4RTlBmH53chS+WzGxKzk7A7W/gpW+7tsjsFaVhcgDAXKFJOasguay6DIwR3LNDq2YK2X2yqUPpl5P2bcYAU0wS6h6W0MjauhCVmqYqDuhUblaU1G1Bvnk5Vtvww//Iiov9Hu6xblhRIVLK39Tb19Kndnm+9y/lNs1u6l2nvz5ubJ3R0u3orWsjhQfyMu8m99AF1ea5z7g5M/&lt;/diagram&gt;&lt;/mxfile&gt;" style="background-color: rgb(255, 255, 255);"><defs/><g><rect x="20" y="50" width="160" height="30" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 142px; height: 1px; padding-top: 65px; margin-left: 30px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: left;"><div style="display: inline-block; font-size: 12px; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; overflow-wrap: normal;">Candidate Records</div></div></div></foreignObject><text x="30" y="69" fill="#000000" font-family="Courier New" font-size="12px" font-weight="bold">Candidate Records</text></switch></g><rect x="20" y="80" width="160" height="90" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 142px; height: 1px; padding-top: 125px; margin-left: 30px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: left;"><div style="display: inline-block; font-size: 12px; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;"><span>{key1, seq=10}</span><br /><span>{key2, seq=15}<br /></span><span>{key3, seq=20}<br /></span><span>{key4, seq=5}<br /></span><span>{key5, seq=30}</span></div></div></div></foreignObject><text x="30" y="129" fill="#000000" font-family="Courier New" font-size="12px">{key1, seq=10}...</text></switch></g><rect x="20" y="230" width="160" height="30" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 142px; height: 1px; padding-top: 245px; margin-left: 30px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: left;"><div style="display: inline-block; font-size: 12px; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; overflow-wrap: normal;">Min-Heap</div></div></div></foreignObject><text x="30" y="249" fill="#000000" font-family="Courier New" font-size="12px" font-weight="bold">Min-Heap</text></switch></g><rect x="20" y="260" width="160" height="60" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 142px; height: 1px; padding-top: 290px; margin-left: 30px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: left;"><div style="display: inline-block; font-size: 12px; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;"><span>{key1, seq=10}</span><br /><span>{key2, seq=15}<br /></span><span>{key3, seq=20}</span></div></div></div></foreignObject><text x="30" y="294" fill="#000000" font-family="Courier New" font-size="12px">{key1, seq=10}...</text></switch></g><rect x="20" y="380" width="160" height="30" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 142px; height: 1px; padding-top: 395px; margin-left: 30px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: left;"><div style="display: inline-block; font-size: 12px; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; overflow-wrap: normal;">Final Min-Heap</div></div></div></foreignObject><text x="30" y="399" fill="#000000" font-family="Courier New" font-size="12px" font-weight="bold">Final Min-Heap</text></switch></g><rect x="20" y="410" width="160" height="60" fill="#ffffff" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 142px; height: 1px; padding-top: 440px; margin-left: 30px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: left;"><div style="display: inline-block; font-size: 12px; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;"><span>{key2, seq=15}</span><br /><span>{key3, seq=20}<br /></span><span>{key5, seq=30}</span></div></div></div></foreignObject><text x="30" y="444" fill="#000000" font-family="Courier New" font-size="12px">{key2, seq=15}...</text></switch></g><rect x="20" y="20" width="190" height="30" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 1px; height: 1px; padding-top: 35px; margin-left: 22px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: left;"><div style="display: inline-block; font-size: 11px; font-family: &quot;Times New Roman&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;"><span style="font-size: 11px;"><i>Query: Secondary Key "tag1", K = 3</i></span></div></div></div></foreignObject><text x="22" y="38" fill="#000000" font-family="Times New Roman" font-size="11px">Query: Secondary Key "tag1", K = 3</text></switch></g><rect x="20" y="200" width="170" height="30" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 1px; height: 1px; padding-top: 215px; margin-left: 22px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: left;"><div style="display: inline-block; font-size: 11px; font-family: &quot;Times New Roman&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;"><i>Step 1: Insert Top 3 to Min-Heap</i></div></div></div></foreignObject><text x="22" y="218" fill="#000000" font-family="Times New Roman" font-size="11px">Step 1: Insert Top 3 to Min-Heap</text></switch></g><rect x="20" y="350" width="160" height="30" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 1px; height: 1px; padding-top: 365px; margin-left: 22px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: left;"><div style="display: inline-block; font-size: 11px; font-family: &quot;Times New Roman&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: nowrap;"><i>Step 2: Compare and Replace</i></div></div></div></foreignObject><text x="22" y="368" fill="#000000" font-family="Times New Roman" font-size="11px">Step 2: Compare and Replace</text></switch></g><rect x="20" y="500" width="210" height="30" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 1px; height: 1px; padding-top: 515px; margin-left: 22px;"><div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: left;"><div style="display: inline-block; font-size: 12px; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: nowrap;"><span>Result: {key5, key3, key2}</span></div></div></div></foreignObject><text x="22" y="519" fill="#000000" font-family="Courier New" font-size="12px" font-weight="bold">Result: {key5, key3, key2}</text></switch></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.drawio.com/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text></a></switch></svg>
\ No newline at end of file