added little demo for edge collapse