Optimized collapsing. Works fine but doesn't actually produce good results.