Cleanup b2chainshape.
Cleanup b2chainshape.