fixed some issues in CollapseStackManip. and AnchorFloatingStmts. now they crash less