Minor code formatting fix
Implement the heuristics for garbage collection