Cleanup b2shape.