#16: first math for quadratic and cubic curve bounding boxes