pub fn group(damage: Vec<Rectangle>, bounds: Rectangle) -> Vec<Rectangle>
Groups the given damage regions that are close together inside the given bounds.