Fourth Stage: Fusion and Shrinking code