Adds collapse point calculations and node removal.