HB-trie iterator bug fix & block cache optimization
- Out of bound memory error occurs on temporary variable in HB-trie iterator next function due to invalid length
- Dirty blocks of old file after compaction can be removed from cache without flushing