fn cost(parameter_space: &[Parameter; 7]) -> i64
Calculate the cost of a bounding box (sum of range widths).