Switched from slower map to unordered_map for chunk management