def bbox_for_point(point, size):
  """Calcs square bounding box for provided center and bounding box size.

  :type point: list
  :param point: bounding box center

  :type size: float
  :param size: size of square bounding box

  :rtype: list
  :return: new bounding box
  """
  x0 = point[0] - size / 2.0
  y0 = point[1] - size / 2.0
  x1 = point[0] + size / 2.0
  y1 = point[1] + size / 2.0
  return [x0, y0, x1, y1]