add BoundingBox class and implement Gesture.rescale() method