added contracts to bezier
moved bounding boxes to seperate file