Refactoring: Removed num_garbage_blocks and replaced it by num_live_blocks.