added GB2ShapeCache class.